import Vue from 'vue'
// import 'normalize.css/normalize.css'
import '@/styles/index.scss'
import 'amfe-flexible'
import '@/assets/iconfont/iconfont.css'
import 'vant/lib/index.css'
import App from './App'
import router from './router'
import store from './store'
import plugins from './plugins'
import './vant'
import './errorLog'
import './permission'
// import './mock'
import axios from 'axios'
import * as filters from './filters'

// 注册全局过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

Vue.config.productionTip = false
Vue.use(plugins)
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
